package com.zf.admin.comment;

/**
 * @author LJH
 * @date 2019/9/21-23:53
 * @QQ 1755497577
 */
public class Result {
    private Integer code;
    private String msg;

    private Result(int c, String m){
        this.code = c;
        this.msg = m;
    }

    public static Result getInstance(int c, String m){
        return new Result(c,m);
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
